﻿
CREATE PROCEDURE TopUsers

AS
BEGIN
select WebApplication.DisplayName, TopActiveUsers.Login, TopActiveUsers.LastAccessTime, TopActiveUsers.Hits, TopActiveUsers.SuccessHitsRate
	from WebApplication, TopActiveUsers
	where WebApplication.WebApplicationID = TopActiveUsers.WebApplicationID
END